import org.apache.commons.dbcp.BasicDataSource

// Place your Spring DSL code here
beans = {
	dataSource(BasicDataSource) {
		driverClassName='com.mysql.jdbc.Driver'
		url = 'jdbc:mysql://200.55.243.136:3306/VamosALaCancha4'
//		url = 'jdbc:mysql://200.55.245.154:3306/VamosALaCancha4'
		username = 'mubbia'
		password = 'Mubbia123'	
		//run the evictor every 30 minutes and evict any connections older than 30 minutes.
		minEvictableIdleTimeMillis=1800000
		timeBetweenEvictionRunsMillis=1800000
		numTestsPerEvictionRun=3
		//test the connection while its idle, before borrow and return it
		testOnBorrow=true
		testWhileIdle=true
		testOnReturn=true
		validationQuery="SELECT 1"
	  }
}
